package com.api.test;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.GenericApplicationContext;
import org.springframework.test.context.ContextLoader;

public class VoidContextLoader implements ContextLoader {

	@Override
	public String[] processLocations(Class<?> clazz, String... locations) {
		return new String[] {};
	}

	@Override
	public ApplicationContext loadContext(String... locations) throws Exception {

		return new GenericApplicationContext();
	}

}
